package com.ricky.cloud.config;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by baiguantao on 2017/10/26.
 * feign默认用的是ribbon做负载
 */
@FeignClient("eurekaclient")
public interface FeignClientConfig {
    @GetMapping(value = "/greeting")
    public String greet();
}
